// 引入 variables.scss 以使用全局变量
@import '@/styles/variables';

.container {
  display: flex;
  overflow-y: scroll;
  flex-direction: column;
  // height: calc(100vh - 180px);
  // background-color: $bg-gray;
  background-color: #fff;
}

.scrollList {
  height: 1090px;
  padding-top: 24px;
}

.listBox {
  .searchBox {
    padding: 16px 24px;
    background-color: $bg-white;
  }

  .groupBox {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 24px;
    background-color: $bg-white;

    .groupText {
      font-size: $font-size-base;
      color: $sub-title-color;
      font-weight: 500;
    }

    .active {
      color: $title-color;
      font-size: $font-size-base;
      font-weight: 700;
    }
  }

  .filterBox {
    display: flex;
    align-items: center;
    background-color: $bg-white;
    margin-bottom: 16px;

    .filterAll {
      flex: 1;
      padding: 16px 0;
      color: $sub-title-color;
      font-size: $font-size-large;
      text-align: center;
    }

    .filterGroup {
      flex: 1;
      padding: 16px 0;
      color: $sub-title-color;
      font-size: $font-size-large;
      text-align: center;
    }

    & .active {
      color: $title-color;
      font-size: $font-size-large;
      font-weight: $font-weight-bold;
    }
  }

  .tabsBox {
    position: relative;
    font-size: $font-size-base;
    color: $title-color;

    .applyBox {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 32px;
      background-color: #fff7e8;

      .applyTitle {
        font-size: $font-size-base;
        color: $title-color;
      }

      .applyContent {
        font-size: $font-size-small;
        color: $title-color;

        .applyCount {
          color: $danger;
        }
      }
    }

    .childrenTabs {
      padding: 32px 40px;
      font-size: $font-size-base;
      color: $title-color;
    }

    .itemTitle {
      padding: 12px 32px;
      color: $sub-title-color;
      font-size: $font-size-small;
    }
  }

  .blank {
    margin-top: 200px;
  }

  .addGroupBtn {
    margin-top: 400px;
    width: 400px;
  }
}

.groupNameText {
  padding: 20px;
  padding-left: 32px;
  background-color: $bg-gray;
  display: flex;
  justify-content: space-between;
}